#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
	ll n;
	cin >> n;
	while(n--) {
		ll m,d,c;
		cin >> m >> d >> c;
		if(m<7) {
			if(m==6) {
				if(d<=20) {
					if(c==1800) {
						cout<<"Ok!\n";
					} else if(c>1800) {
						cout<<"^_^\n";
					} else {
						cout<<"Need more!\n";
					}
				} else {
					if(c==2000) {
						cout<<"Ok!\n";
					} else if(c>2000) {
						cout<<"^_^\n";
					} else {
						cout<<"Need more!\n";
					}
				}
			} else {
				if(c==1800) {
					cout<<"Ok!\n";
				} else if(c>1800) {
					cout<<"^_^\n";
				} else {
					cout<<"Need more!\n";
				}
			}
		} else if(m==7) {
			if(d>11) {
				cout<<"Too late!\n";
			} else {
				if(c==2000) {
					cout<<"Ok!\n";
				} else if(c>2000) {
					cout<<"^_^\n";
				} else {
					cout<<"Need more!\n";
				}
			}
		} else {
			cout<<"Too late!\n";
		}

	}
	return 0;
}
